package com.atguigu.spzx.product.mapper;

import cn.hutool.db.Page;
import com.atguigu.spzx.model.dto.h5.ProductSkuDto;
import com.atguigu.spzx.model.entity.product.ProductSku;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductSkuMapper {
    //根据条件分页查询
    List<ProductSku> findByPage(ProductSkuDto productSkuDto);

    ProductSku selectById(Long skuId);

    List<ProductSku> selectByProductId(Long id);

    ProductSku selectBySkuId(Long skuId);
    //PageInfo<ProductSku> findByPage(ProductSkuDto productSkuDto);


}
